v a r   s t a r   =   { } ; 
 
 
 
 f u n c t i o n   S t a r ( c o n s t e l l , t y p e , s p e c c l a s s , m a g n i t u d e )   { 
 
         t h i s . c o n s t e l l a t i o n   =   c o n s t e l l ; 
 
         t h i s . t y p e   =   t y p e ; 
 
         t h i s . s p e c t r a l C l a s s   =   s p e c c l a s s ; 
 
         t h i s . m a g     =   m a g n i t u d e ; 
 
 } 
 
 
 
 s t a r [ " P o l a r i s " ]   =   n e w   S t a r ( " U r s a   M i n o r " , " D o u b l e / C e p h e i d " , " F 7 " , 2 . 0 ) ; 
 
 s t a r [ " M i z a r " ]   =   n e w   S t a r ( " U r s a   M a j o r " , " S p e c t r o s c o p i c   B i n a r y " , " A 1   V " , 2 . 3 ) ; 
 
 s t a r [ " A l d e b a r a n " ]   =   n e w   S t a r ( " T a u r u s " , " I r r e g u l a r   V a r i a b l e " , " K 5   I I I " , 0 . 8 5 ) ; 
 
 s t a r [ " R i g e l " ]   =   n e w   S t a r ( " O r i o n " , " S u p e r g i a n t   w i t h   C o m p a n i o n " , " B 8   I a " , 0 . 1 2 ) ; 
 
 s t a r [ " C a s t o r " ]   =   n e w   S t a r ( " G e m i n i " , " M u l t i p l e / S p e c t r o s c o p i c " , " A 1   V " , 1 . 5 8 ) ; 
 
 s t a r [ " A l b i r e o " ]   =   n e w   S t a r ( " C y g n u s " , " D o u b l e " , " K 3   I I " , 3 . 1 ) ; 
 
 s t a r [ " A c r u x " ]   =   n e w   S t a r ( " C r u x " , " D o u b l e " , " B 1   I V " , 0 . 8 ) ; 
 
 s t a r [ " G e m m a " ]   =   n e w   S t a r ( " C o r o n a   B o r e a l i s " , " E c l i p s i n g   B i n a r y " , " A 0   V " , 2 . 2 3 ) ; 
 
 s t a r [ " P r o c y o n " ]   =   n e w   S t a r ( " C a n i s   M i n o r " , " D o u b l e " , " F 5   I V " , 0 . 3 8 ) ; 
 
 s t a r [ " S i r i u s " ]   =   n e w   S t a r ( " C a n i s   M a j o r " , " D o u b l e " , " A 1   V " , - 1 . 4 6 ) ; 
 
 s t a r [ " R i g i l   K e n t a u r u s " ]   =   n e w   S t a r ( " C e n t a u r u s " , " D o u b l e " , " G 2   V " , - 0 . 0 1 ) ; 
 
 s t a r [ " D e n e b " ]   =   n e w   S t a r ( " C y g n u s " , " S u p e r g i a n t " , " A 2   I a " , 1 . 2 5 ) ; 
 
 s t a r [ " V e g a " ]   =   n e w   S t a r ( " L y r a " , " W h i t e   D w a r f " , " A 0   V " , 0 . 0 3 ) ; 
 
 s t a r [ " A l t a i r " ]   =   n e w   S t a r ( " A q u i l a " , " W h i t e   D w a r f " , " A 7   V " , 0 . 7 7 ) ; 
 
 
 
 i f   ( " P o l a r i s "   i n   s t a r )   { 
 
         s t a r [ " P o l a r i s " ] . a k a   =   " T h e   N o r t h   S t a r " ; 
 
         a l e r t ( " S a o   P o l a r i s      c   t o ,   s a o   n  y   c  n   c    t  n   l    "   +   s t a r [ " P o l a r i s " ] . a k a ) ; 
 
 } 
 
 